package com.ruoyi.web.service;

import java.util.List;
import java.util.Map;


public interface DatabaseService {
    List<String> getAllDatabases();

    List<Map<String, String>> listAllTables(String dbName);

    List<Map<String, String>> listColumns(String dbName, String tableName);

    boolean validateSql(String sql);

    List<Map<String, Object>> generateChart(String sql);
}
